<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<%@ taglib uri="http://jakarta.apache.org/struts/tags-html"
	prefix="html"%>

<%@ page isELIgnored="false"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>同乐吧-邀请别人</title>

		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<link href="../css/public.css" rel="stylesheet" type="text/css" />
		<link href="../css/column.css" rel="stylesheet" type="text/css" />
		<link href="../css/comment.css" rel="stylesheet" type="text/css" />

		<script type="text/javascript">
function changeOffice(v_office)
{
	var len = document.emailform.adress.options.length;
	for (var i=0; i<len; i++)
	{
		if (document.emailform.adress.options[i].value == v_office)
		{
			if (!document.emailform.adress.options[i].selected)
			{
				document.emailform.user.value = "";
			}
			document.emailform.adress.options[i].selected = true;
			break;
		}
	}
}
</script>
	</head>
	<body class="body">
		<div class="pageContent">

			<jsp:include flush="true" page="../include/header.jsp"></jsp:include>

			<!-- 页面主内容 -->
			<div class="main">

				<form name="emailform"
					action="invite.do?method=getEmailAddressList" method="post"
					style="text-align: center;">
					<p align="left">
						<b>从我的邮箱导入通讯录，选择待邀请人并发送邀请邮件</b>
					</p>
					<table align="left">
						<tr align="left">
							<td>
								邮箱地址：
								<input type="text" size="20" 
									name="user" />
								&nbsp;@&nbsp;

								<select name=adress style="font-family: Arial;">
									<option value="163.com" selected>
										163.com
									</option>
									<option value="126.com">
										126.com
									</option>
									<option value="sina.com.cn">
										sina.com.cn
									</option>
									<option value="hotmail.com">
										hotmail.com
									</option>
									<option value="yeah.net">
										yeah.net
									</option>
								</select>

							</td>
						</tr>
						<tr align="left">
							<td>
								邮箱密码：
								<input type="password"
									name="passwd" />
								<input type="submit" id="btn_s" value=" 导入 " title="导入"/>
							</td>
						</tr>
					</table>
				</form>


				<div class="l"
					style="padding-top: 0px; width: 380px; padding-left: 30px; * padding-left: 70px !important; padding-left: 30px;">
					<div class="mb5">
						目前支持以下免费邮箱导入：
					</div>
					<div class="l p5">
						<a href="javascript:changeOffice('hotmail.com');"><img
								src="bb_hotmail[1].gif" title="导入Hotmail邮箱通讯录的联系人" />
						</a>
					</div>
					<div class="l p5">
						<a href="javascript:changeOffice('163.com');"><img
								src="bb_163[1].gif" title="导入网易163邮箱通讯录的联系人" />
						</a>
					</div>
					<div class="l p5">
						<a href="javascript:changeOffice('126.com');"><img
								src="bb_126[1].gif" title="导入网易126邮箱通讯录的联系人" />
						</a>
					</div>
					<div class="l p5">
						<a href="javascript:changeOffice('yeah.net');"><img
								src="bb_yeah[1].gif" title="导入yeah.net邮箱通讯录的联系人" />
						</a>
					</div>
					<div class="l p5">
						<a href="javascript:changeOffice('sina.com.cn');"><img
								src="bb_sina[1].gif" title="导入新浪邮箱通讯录的联系人" />
						</a>
					</div>

					<div class="c"></div>
				</div>

			</div>

			<jsp:include flush="true" page="../include/footer.jsp"></jsp:include>

		</div>
	</body>
</html>